package com.renren.faceos.door;

public class DoorJNI {
    static {
        //System.loadLibrary("dvdoor");
        System.loadLibrary("dvdoor");
        //System.loadLibrary("doorctrl");
    } // Used to load the 'native-lib' library on application startup.


    public DoorJNI() {
    }

    public native int init();

    public native int checkStatue(int index); // return 1 open o close

    public native int open(int index);

    public native int close(int index);

    public native int closeAllDoor();

    public native int uninit();

//
//    public int init() {
//
//        return 0;
//    }
//
//    public int open() {
//
//        return 0;
//    }
//
//    public int close() {
//
//        return 0;
//    }
//
//    public int status() {
//
//        return 0;
//    }

}
